//Do-file to merge SES data 2006-2010
	
//Loop over all LISA waves

	foreach num of numlist 2006/2010 {
		
		
			use LopNr Sun2000niva LoneInk ///
				using "D:\SCB_ConPol\Stata\LISA\LISA_`num'", clear 
			gen Ar = `num'
			
			tempfile L`num'
			save `L`num''
		}
		
	
	use `L2006', clear 
	
	foreach num of numlist 2007/2010 {
		
		append using `L`num''
	
	}
	
	compress
		

	save "D:\Data\ProjData\SiblingOrder\SESData0610.dta", replace
